package jwd.base

import java.util.concurrent.ConcurrentHashMap

/**
 * Created by udi on 17-7-30.
 */
open class StringMap() : ConcurrentHashMap<String, String>() {
    constructor(data: Map<String, String>) : this() {
        data.forEach {
            this.put(it.key, it.value);
        }
    }

    constructor(vararg  data: Pair<String, String>) : this() {
        data.forEach {
            this.put(it.first, it.second);
        }
    }
}